Skip to content

Comments

Add missing forceReplace param when replacing a file#637

Merged
ofahimIQSS merged 1 commit intodevelopfrom
fix/force-replace-param
Mar 31, 2025
Merged

Add missing forceReplace param when replacing a file#637
ofahimIQSS merged 1 commit intodevelopfrom
fix/force-replace-param

Conversation

@g-saracca
Copy link
Contributor

@g-saracca g-saracca commented Mar 28, 2025

What this PR does / why we need it:

I forgot to send forceReplace param to true when replacing a file with a file that has different mime type.
At some point I added it but then I removed to test something.
This PR fix what is happening now on SPA beta if you try to replace lets say a JPG file with a PNG file.

Suggestions on how to test this:

Create a dataset and add a file with .jpg extension.
Go to that file and replace it with a file with .png extension, you should be able to replace the file correctly.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

No

Is there a release notes update needed for this change?:

No

Additional documentation:

No

@g-saracca g-saracca added Size: 3 A percentage of a sprint. 2.1 hours. GREI Re-arch GREI re-architecture-related Original size: 3 labels Mar 28, 2025
@g-saracca g-saracca moved this to Ready for Review ⏩ in IQSS Dataverse Project Mar 28, 2025
@coveralls
Copy link

Coverage Status

coverage: 97.544% (+0.01%) from 97.532%
when pulling 2370be8 on fix/force-replace-param
into 133d5e9 on develop.

Copy link
Contributor

@ChengShi-1 ChengShi-1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@github-project-automation github-project-automation bot moved this from Ready for Review ⏩ to Ready for QA ⏩ in IQSS Dataverse Project Mar 28, 2025
@cmbz cmbz added the FY25 Sprint 20 FY25 Sprint 20 (2025-03-26 - 2025-04-09) label Mar 30, 2025
@ofahimIQSS ofahimIQSS self-assigned this Mar 31, 2025
@ofahimIQSS ofahimIQSS moved this from Ready for QA ⏩ to QA ✅ in IQSS Dataverse Project Mar 31, 2025
@ofahimIQSS
Copy link
Contributor

@ofahimIQSS ofahimIQSS merged commit c5b2c32 into develop Mar 31, 2025
19 checks passed
@github-project-automation github-project-automation bot moved this from QA ✅ to Merged 🚀 in IQSS Dataverse Project Mar 31, 2025
@ofahimIQSS ofahimIQSS deleted the fix/force-replace-param branch March 31, 2025 13:59
@ofahimIQSS ofahimIQSS removed their assignment Mar 31, 2025
@scolapasta scolapasta moved this from Merged 🚀 to Done 🧹 in IQSS Dataverse Project Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FY25 Sprint 20 FY25 Sprint 20 (2025-03-26 - 2025-04-09) GREI Re-arch GREI re-architecture-related Original size: 3 Size: 3 A percentage of a sprint. 2.1 hours.

Projects

Status: Done 🧹

Development

Successfully merging this pull request may close these issues.

5 participants